/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Ui;

import javax.swing.JDialog;

/**
 *
 * @author Esteban
 */
public class InfoGrupoCompartido {
    public InfoGrupoCompartido(String prof, int num, PanelAsignarClasePaso3 panel, JDialog superPanel){
        profesor=prof;
        numero=num;
        this.panel=panel;
        this.superPanel=superPanel;
        setAcompaniante();
    }
    
    private void setAcompaniante(){
        acompaniante=panel.acompanianteClase(getCurso1(), getAnio(), getMes1(), getNumero());
    }
    
    public String getProfesor(){
        return profesor;
    }
    
    public int getNumero(){
        return numero;
    }
    
    public String getAcompaniante(){
        return acompaniante;
    }
    
    public int getAnio(){
        return panel.getAnio();
    }
    
    public int getMes1(){
        return panel.getMes1();
    }
    
    public String getMes2(){
        return panel.getMes2();
    }
    
    public int getDia1(){
        return panel.getDia1();
    }
    
    public String getDia2(){
        return panel.getDia2();
    }
    
    public int getHoraInicio1(){
        return panel.getHoraInicio1();
    }
    
    public String getHoraInicio2(){
        return panel.getHoraInicio2();
    }
    
    public int getHoraFin1(){
        return panel.getHoraFin1();
    }
    
    public String getHoraFin2(){
        return panel.getHoraFin2();
    }
    
    public String getEstudiante1(){
        return panel.getEstudiante1();
    }
    
    public int getCurso1(){
        return panel.getCurso1();
    }
    
    public String getEstudiante2(){
        return panel.getEstudiante2();
    }
    
    public String getCurso2(){
        return panel.getCurso2();
    }
    
    public JDialog getSuperPanel(){
        return superPanel;
    }
    
    private String profesor;
    private int numero;
    private String acompaniante;
    private JDialog superPanel;
    private PanelAsignarClasePaso3 panel;
    
}
